package yang.itcode.model.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class PurchaseOrder extends BasePOJO {
    private Integer id;
    private String orderNo;
    private Integer supplierId;
    private LocalDate orderDate;
    private BigDecimal totalAmount;
    private String note;
    private Integer redSource;
    private Integer redOrder;
    private Integer redSourceId;
    private Integer redOrderId;
}
